﻿@model List<Lesson_4.Task>
@{
    ViewBag.Title = "List";
}

<table class="table table-striped table-hove">
    <thead>
        <tr>
            <th>编号</th>
            <th>内容</th>
        </tr>
    </thead>
    <tbody>
        @foreach (var item in Model)
        {
            <tr>
                <td>@item.TaskID</td>
                <td>@item.Content</td>
            </tr>
        }
    </tbody>
</table>

